project(v4l2)
find_package(OpenCV REQUIRED)
add_executable(v4l2 v4l2.cpp)
# 链接OpenCV库
target_link_libraries(v4l2 ${OpenCV_LIBS})

add_executable(v4l2 v4l2.cpp)
# 链接OpenCV库
target_link_libraries(v4l2 ${OpenCV_LIBS})
